package com.wxx.design.singleresponsibility;

/**
 * @author: Jetwang
 * @date: 2022/4/7 20:24
 * @description: Bird
 * @version: 1.0
 */
public class Bird {
    public void mainMoveMode(String birdName) {
        if ("鸵鸟".equals(birdName)) {
            System.out.println(birdName + "用脚走##");
        } else {
            System.out.println(birdName + "用翅膀飞~~");
        }
    }
}
